NifCleaner by Caliente
----------------------

NifCleaner is a simple tool that operates on a freshly exported .nif file from a 3D application such as Blender.
The program removes nodes that aren't supportedy by Skyrim, and updates the internal version information to the required values.

Additionally, the program offers an easy way to copy shader information into the same NIF as part of the processing.
These shaders are stored in the ShaderLibrary.nif file. 

-------------------------------------------------------

To use NifCleaner, first export a NIF from a 3D program (Blender is the only one tested for this...).
Next, drag the exported .nif file onto the NifCleaner.exe.
(You may need to set Nifcleaner.exe to run as admin by right clicking it and going to the properties beforehand).

Inside the program, you can double-click the leftmost column to rename the internal shapes,
double-click the right most column to enable/disable alpha channel for the shape's shader,
and use the drop down box to pick from the shaders within the included shader library (a very limited set right now).

Note shaders with (A) in the name are assumed to require the alpha property
(when choosing a shader with this requirement, the alpha property will be enabled by default).

Once done, hit the "Clean!" button to save the cleaned NIF to your hard drive.
You can also hit "TEST", which will copy the cleaned files over the femalebody_0 and femalebody_1.nif files in Skyrim's Data directory.
This is intended for quick testing of body and armor meshes.

NifCleaner can now also convert a Skyrim .nif file to a Blender compatible format.
The operation outlined above remains mostly the same, but it is not necessary to assign shaders to the mesh components.
Simply drag a Skyrim .nif file onto the .exe in Windows Explorer, then click 'To Blender' and save the file.
It should now be ready to import into Blender.


NifCleaner was created to deal with the .nif file output from Blender during the creation of Caliente's Armor Mod.
It was used and tested within a very limited set of circumstances, and thus may not work at all for your purpose.
Be warned -- it could completely destroy your .nif files! I do not plan to offer much in the way of support for this program...


-Caliente